package com.xiaobaibai.server.blog;

import com.xiaobaibai.pojo.Blog;
import com.xiaobaibai.pojo.Label;

import java.util.List;

public interface IBlogService {

    List<Blog> getBlogList();

    void changStatus(String blogId,String status);

    String getQiniuToken();

    List<Label> getAllLabel();

    boolean deleteBlog(Integer blogId);

    void saveBlog(Blog blog);

    void saveDraft(Blog blog);

    void updateBlog(Blog blog);

    Blog getBlogById(String blogId);

}
